package com.zhiyin.seal.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhiyin.seal.entity.AlarmRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface AlarmRecordDao extends BaseMapper<AlarmRecordEntity> {

    List<AlarmRecordEntity> selectAlarmRecordList(@Param("companyId") Long companyId);

    Integer insertAlarmRecord(@Param("alarmRecord")AlarmRecordEntity alarmRecordEntity);
}
